// 参数数据类型
export const paramDataTypeOptions = [
  {label: "字符串", value: "字符串", type: "primary", color: ""},
  {label: "数值", value: "数值", type: "warning", color: ""},
  {label: "布尔", value: "布尔", type: "success", color: ""},
  {label: "日期", value: "日期", type: "danger", color: ""},
];

export const paramDataTypeMixins = (data) => {
  return paramDataTypeOptions.find(item => item.value === data);
};
